package org.shock.ss.sms.commons.excel.impt.caixin.impl;

import java.text.DecimalFormat;

import org.apache.poi.hssf.usermodel.HSSFCell;

import org.shock.ss.sms.commons.excel.impt.BaseExcelImport;
import org.shock.ss.sms.commons.excel.impt.caixin.CaixinExcelImport;
import org.shock.ss.sms.commons.excel.impt.impl.BaseExcelImportImpl;

public class CaixinExcelImportImpl extends BaseExcelImportImpl implements BaseExcelImport,CaixinExcelImport{

	@Override
	public String changeNumber(HSSFCell cell) {
		DecimalFormat df= new DecimalFormat("0");//指定转换的格式
		String strCell= df.format(cell.getNumericCellValue());//将double类型的值转换为String类型
		return strCell;
	}

}
